<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<style>
  body {text-align: center;}
  .app {
    position: relative;
    height: 100%;
  }
  .content-wrap {
    position: relative;
    height: 100%;
  }
  .table {
    width:60%;
    border-spacing:0;
    margin-bottom: 10px;
    background-color:transparent;
    margin:0 auto;
  }
  .no-m {
    margin: 0!important;
  }
  tbody > tr > td, .table > tfoot > tr > td {
    border-color: #e3e6f3;
  }
  .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
  }
  td, th {
    display: table-cell;
    vertical-align: inherit;
  }
  .text-center{
    text-align: center;
  }
</style>
<div class="app">
  <div class="content-wrap">
    <div class="text-center">
      <p style="font-size: 24px;font-weight:bold ">安平博爱医院</p>
      <p style="font-size: 18px;font-weight:bold ">病人检验项目清单</p>
    </div>
    <div>
      <span>姓名：${name}</span>
      <span style="padding-left:360px;">打印时间:${date}</span>
    </div>
    <div  align="center">
      <table class="table no-m">
        <thead>
        <tr>
          <th>检验项目</th>
          <th>项目代码</th>
          <th>价格</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${labItemList}" var="labItemList" varStatus="status">
          <tr>
            <td>${labItemList.itemName}</td>
            <td>${labItemList.itemCode}</td>
            <td>${labItemList.costs}</td>
          </tr>
        </c:forEach>
        </tbody>
      </table>
    </div>


  </div>
</div>
